/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Service;

import java.awt.Color;

import java.awt.Point;
import java.util.Date;
import java.util.List;
import javabeans.Event;
import javabeans.EventType;
import javabeans.GroupPlan;
import javabeans.Member;
import javabeans.Plan;

/**
 *
 * @author liweijiao
 */
public interface EventService {

    public Event newEvent(String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, Plan plan);

    public Event modifyEvent(int eid, String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, Plan plan);

    public boolean deleteEvent(int eventid, int planid);

    public List<Event> getEventList(int planid);

    public Event newGroupEvent(String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, GroupPlan groupplan);

    public Event modifyGroupEvent(int eid, String ename, String etype, String starttime, String endtime, String edescript, double x, double y, String c, GroupPlan groupplan);

    public boolean deleteGroupEvent(int eventid, int groupplanid);

    public List<Event> getGroupEventList(int groupplanid);
}
